import { ApiProperty } from '@nestjs/swagger'
export class CreateUserDto {
    @ApiProperty({ description: ' 姓名', })
    readonly name: string;

    @ApiProperty({ description: ' 密码', })
    readonly password: string;

    @ApiProperty({ description: ' phone手机号', })
    readonly phone: string;

    @ApiProperty({ description: ' 性别', })
    readonly sex?: string = '1';

    @ApiProperty({ description: ' avatar头像', })
    readonly avatar?: string;

    @ApiProperty({ description: ' 昵称', })
    readonly nickname?: string;

    @ApiProperty({ description: ' 邮箱', })
    readonly email?: string;
}
